﻿using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using DICE_GS;

public class DirectEnterRoomButton : MonoBehaviour {

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
	
	void OnClick()
	{
		LoadingWindow.window.ShowShortLoading();
//		List<CMapData> mapList = CMapDataManager.Instance.GetMapList();
//		CSceneManager.m_mapName = "map_" + mapList[MapListManager.selectedIndex].name;
//		CSceneManager.m_mapName = "map_demo01";
		CSceneManager.manager.OnRandomJoinButton();
	}
}
